﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;

namespace WeixinPayWeb
{
    public class LoginAuthAttribute: ActionFilterAttribute
    {
        public override void OnActionExecuting(ActionExecutingContext context)
        {
            //to do 自己实现认证规则 通过Headers
            //var authData = context.HttpContext.Request.Headers[""];


        }
    }
}
